package com.ilikesoup.instant.split;

public class SplitExecutor<T> {
    /**
     * 源
     */
    private final ListSupplier<T> supplier;
    /**
     * 分割器
     */
    private final ListSplitter<T> splitter;

    public SplitExecutor(ListSupplier<T> supplier, ListSplitter<T> splitter) {
        this.supplier = supplier;
        this.splitter = splitter;
    }

    public ListSupplier<T> getSupplier() {
        return supplier;
    }

    public ListSplitter<T> getSplitter() {
        return splitter;
    }
}
